package com.search.entity;


import com.alibaba.fastjson2.JSONObject;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * borrow_book实体类
 * 
 * @author 
 *
 */
@Data
@ToString
public class BorrowBook {
	/***/
	private String bookName;

	private String subtitle;
	/***/
	private String isbn; 
	/***/
	private float rating;
	/***/
	private String listId;
	/***/
	private Integer holding;
	/***/
	private String classify; 
	/***/
	private String library; 
	/***/
	private String source;

	private String detailUrl;

	private String listName;

	private Date insertTime;

	private int begin;

	private int offset;

	private Integer evaluateNum;

	private Integer isCollect;

	private String shelfNo;
	private String statusAndDate;
	private String location;
	/**
	 * 实例化
	 */
	public BorrowBook() {
		super();
	}

	public BorrowBook(String bookName, String subtitle, float rating, String classify, String detailUrl, Integer evaluateNum, Integer isCollect,String isbn,String library) {
		this.bookName = bookName;
		this.subtitle = subtitle;
		this.rating = rating;
		this.classify = classify;
		this.detailUrl = detailUrl;
		this.evaluateNum = evaluateNum;
		this.isCollect = isCollect;
		this.isbn = isbn;
		this.library = library;
	}
}
